const Storage = {
  saveMatrix(matrix) {
    wx.setStorageSync('matrix', matrix);
  },
  loadMatrix() {
    return wx.getStorageSync('matrix') || [];
  }
};

module.exports = Storage; 